package com.onstar.cn.vehicle.util;

import com.onstar.cn.common.util.DeviceUtil;
import com.onstar.cn.framework.network.enumtype.Language;
import com.onstar.cn.vehicle.entity.MetaData;
import com.onstar.cn.vehicle.entity.UnitOfMeasureType;

public final class VehicleUtil {

	public static MetaData getMetaData() {
		MetaData metaData = new MetaData();
		if (DeviceUtil.getLanguage().equals("zh")) {
			metaData.setLocale(Language.ZH.value());
		} else {
			metaData.setLocale(Language.EN.value());
		}
		metaData.setUomSystem(UnitOfMeasureType.METRIC);
		return metaData;
	}
}
